package info;

import java.io.Serializable;

public class Passenger implements Serializable {
    private String idno;
    private String pwd;
    private String pName;
    private String telephone;


    public Passenger() {

    }
    public Passenger(String idno, String pwd, String pName, String telephone) {
        this.idno = idno;
        this.pwd = pwd;
        this.pName = pName;
        this.telephone = telephone;
    }

    public String getIdno() {
        return idno;
    }

    public void setIdno(String idno) {
        this.idno = idno;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    @Override
    public String toString() {
        return "Passenger{" +
                "idno='" + idno + '\'' +
                ", pwd='" + pwd + '\'' +
                ", pName='" + pName + '\'' +
                ", telephone='" + telephone + '\'' +
                '}';
    }
}
